package com.battery.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "系统菜单类")
public class Sys_menu {
    @ApiModelProperty(name = "menu_id", value = "菜单id",required = true,example = "123")
    private int menu_id;
    @ApiModelProperty(name = "menu_name", value = "菜单名称", example = "")
    private String menu_name;
    @ApiModelProperty(name = "menu_parent_id", value = "上级菜单id", example = "123")
    private int menu_parent_id;
    @ApiModelProperty(name = "menu_rank", value = "菜单排序", example = "123")
    private int menu_rank;

    public int getMenu_id() {
        return menu_id;
    }

    public Sys_menu(int menu_id, String menu_name, int menu_parent_id, int menu_rank) {
        this.menu_id = menu_id;
        this.menu_parent_id = menu_parent_id;
        this.menu_name = menu_name;
        this.menu_rank = menu_rank;
    }

    public void setMenu_id(int menu_id) {
        this.menu_id = menu_id;
    }

    public int getRole_id() {
        return menu_parent_id;
    }

    public void setRole_id(int menu_parent_id) {
        this.menu_parent_id = menu_parent_id;
    }

    public String getMenu_name() {
        return menu_name;
    }

    public void setMenu_name(String menu_name) {
        this.menu_name = menu_name;
    }

    public int getMenu_rank() {
        return menu_rank;
    }

    public void setMenu_rank(int menu_rank) {
        this.menu_rank = menu_rank;
    }
}
